package com.baizhi.service.impl;

import com.baizhi.dao.CmfzAudioMapper;
import com.baizhi.entity.CmfzAudio;
import com.baizhi.service.CmfzAudioService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class CmfzAudioServiceImpl implements CmfzAudioService {
    @Autowired
    private CmfzAudioMapper cmfzAudioMapper;
    @Override
    public List<CmfzAudio> getAudios(int albumId) {
        return cmfzAudioMapper.getAudios(albumId);
    }
}
